<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<style type="text/css">
	.table{
		background: #ccc;
		width: 600px;
		
	}
	.table td{
		background: white;
		font-size: 14px;
	}
	</style>
  </head>
  
  <body>
		 
	<form action="TestServlet" method="post">
	
	
		<table class="table" border="0" cellspacing="1">
			<tr><td align="center" style="font-weight: bold;">QQ在线状态查询服务</td></tr>
			<tr><td>QQ:<input name="qq" value="${qq }"/>&nbsp;<input type="submit" value="SUBMIT"/></td></tr>
			<tr><td>结果:&nbsp;<font color="red">${result}</font></td></tr>
			<tr><td  style="font-size: 12px;color: #666666">返回数据：String，Y = 在线；N = 离线；E = QQ号码错误；A = 商业用户验证失败；V = 免费用户超过数量</td></tr>
		</table>
		
    </form>
	 
	
   

	
  </body>
</html>

  
